package cn.itsource.pethome.quartz.service;

import cn.itsource.pethome.Basic.service.IBaseService;
import cn.itsource.pethome.quartz.domain.QuartzJobInfo;

public interface IQuartzJobInfoService extends IBaseService<QuartzJobInfo> {
    /**
     * 增加定时器
     * @param quartzJobInfo
     */
    void addJob(QuartzJobInfo quartzJobInfo);

    /**
     * 删除定时器
     * @param jobName
     */
    void remove(String jobName);
}
